package service.impl;

import service.UserService;

public class UserServiceImpl implements UserService {
    @Override
    public int insert(String name, Integer age) {
        System.out.println("user service insert ~~");
        return 1;
    }

    @Override
    public int delete(Integer id) {
        System.out.println("user service delete ~~");
        return id;
    }

    @Override
    public void findAll() {
        System.out.println("user service findAll ~~");
    }

    @Override
    public void findById(Integer id) {
        System.out.println("user service findById ~~");

//        int i = 1/0;
    }
}